﻿using System;

namespace dslUf.U8Sync.U8SyncAll.Post
{
    /// <summary>
    /// 返回值
    /// </summary>
    public class U8RetVal<T>
    {

        /// <summary>
        /// 成功返回1,失败-1;
        /// </summary>
        public int errcode { set; get; }
        /// <summary>
        /// 说明
        /// </summary>
        public string errmsg { set; get; }
        /// <summary>
        /// 时间
        /// </summary>
        public string watermark { set {; } get => DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); }
        /// <summary>
        /// 数据
        /// </summary>
        public T data { set; get; }
    }
}
